package com.seanchenxi.gwt.wordpress.xmlrpc.service;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The Interface Demo Service.
 */
public interface DemoServiceAsync {

	/**
	 * Say hello.
	 * 
	 * @param callback
	 *            the asynchronous call back
	 * @return String the hello words
	 */
	void sayHello(AsyncCallback<String> callback);

	/**
	 * Adds the two numbers.
	 * 
	 * @param number1
	 *            the number1
	 * @param number2
	 *            the number2
	 * @param callback
	 *            the asynchronous call back
	 * @return Integer the hello words
	 */
	void addTwoNumbers(int number1, int number2, AsyncCallback<Integer> callback);

}
